import org.junit.Test;

public class StringTest {

    @Test
    public void test(){
        String a = "abc";
        "aaa".equals(a);
        System.out.println();
    }

    public static void main(String[] args) {
        String a = "abc";
        String b = "aaa".intern();
        String c = new String("aaa");
        c = c.intern();
        System.out.println(b == c);
    }
}
